package com.ld.security.gateway.feign;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(name =  "ld-auth-server")
@RequestMapping("/api/authUser")
public interface AuthUserFeign {

    @RequestMapping(value="/hasPermission",method=RequestMethod.POST)
    DataVo<FunctionVo> hasPermission(@RequestBody FunctionPo po);

}
